﻿<?phpinclude("mysql.php");if ( $_GET['act'] == "them_phanloai" ){	$pl_title = addslashes($_POST['pl_title']);		if (!$pl_title )	{		echo " Vui long dien tieu de phân loại ";exit();	}	$up_menu = mysql_query ("INSERT INTO phanloai(pl_title) values ('{$pl_title}') ");	if ($up_menu)	{		echo " Them {$pl_title} thanh cong !.<a href='javascript:history.go(-1)'>Nhấp vào đây để quay trở lại</a> ";exit();	}	else	{		echo " Loi ! Vui long lien he cho BQT ";exit();	}}?><form action="addphanloai.php?act=them_phanloai" method="post" >	<table width="60%" align="center" border="0" >		<tr>			<td>Tieu de phan loai :</td>			<td><input type="text" name="pl_title" /></td>		</tr>			<tr>			<td colspan="2"><input type="submit" name="submit" value="Them phan loai" />							<input type="reset" name="B2" value="Nhap lai" />			</td>		</tr>		</tr>	</table></form>